﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B21 RID: 2849
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MGMINPOEGHH : IMessage<MGMINPOEGHH>, IMessage, IEquatable<MGMINPOEGHH>, IDeepCloneable<MGMINPOEGHH>, IBufferMessage
	{
		// Token: 0x170023FF RID: 9215
		// (get) Token: 0x06007F8D RID: 32653 RVA: 0x001548E0 File Offset: 0x00152AE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MGMINPOEGHH> Parser
		{
			get
			{
				return MGMINPOEGHH._parser;
			}
		}

		// Token: 0x17002400 RID: 9216
		// (get) Token: 0x06007F8E RID: 32654 RVA: 0x001548E7 File Offset: 0x00152AE7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MGMINPOEGHHReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002401 RID: 9217
		// (get) Token: 0x06007F8F RID: 32655 RVA: 0x001548F9 File Offset: 0x00152AF9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MGMINPOEGHH.Descriptor;
			}
		}

		// Token: 0x06007F90 RID: 32656 RVA: 0x00154900 File Offset: 0x00152B00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MGMINPOEGHH()
		{
		}

		// Token: 0x06007F91 RID: 32657 RVA: 0x00154908 File Offset: 0x00152B08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MGMINPOEGHH(MGMINPOEGHH other) : this()
		{
			this.tournFormulaId_ = other.tournFormulaId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007F92 RID: 32658 RVA: 0x0015492D File Offset: 0x00152B2D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MGMINPOEGHH Clone()
		{
			return new MGMINPOEGHH(this);
		}

		// Token: 0x17002402 RID: 9218
		// (get) Token: 0x06007F93 RID: 32659 RVA: 0x00154935 File Offset: 0x00152B35
		// (set) Token: 0x06007F94 RID: 32660 RVA: 0x0015493D File Offset: 0x00152B3D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TournFormulaId
		{
			get
			{
				return this.tournFormulaId_;
			}
			set
			{
				this.tournFormulaId_ = value;
			}
		}

		// Token: 0x06007F95 RID: 32661 RVA: 0x00154946 File Offset: 0x00152B46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MGMINPOEGHH);
		}

		// Token: 0x06007F96 RID: 32662 RVA: 0x00154954 File Offset: 0x00152B54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MGMINPOEGHH other)
		{
			return other != null && (other == this || (this.TournFormulaId == other.TournFormulaId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007F97 RID: 32663 RVA: 0x00154984 File Offset: 0x00152B84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.TournFormulaId != 0U)
			{
				num ^= this.TournFormulaId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007F98 RID: 32664 RVA: 0x001549C3 File Offset: 0x00152BC3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007F99 RID: 32665 RVA: 0x001549CB File Offset: 0x00152BCB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007F9A RID: 32666 RVA: 0x001549D4 File Offset: 0x00152BD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.TournFormulaId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.TournFormulaId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007F9B RID: 32667 RVA: 0x00154A08 File Offset: 0x00152C08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.TournFormulaId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TournFormulaId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007F9C RID: 32668 RVA: 0x00154A46 File Offset: 0x00152C46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MGMINPOEGHH other)
		{
			if (other == null)
			{
				return;
			}
			if (other.TournFormulaId != 0U)
			{
				this.TournFormulaId = other.TournFormulaId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007F9D RID: 32669 RVA: 0x00154A77 File Offset: 0x00152C77
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007F9E RID: 32670 RVA: 0x00154A80 File Offset: 0x00152C80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.TournFormulaId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040030D2 RID: 12498
		private static readonly MessageParser<MGMINPOEGHH> _parser = new MessageParser<MGMINPOEGHH>(() => new MGMINPOEGHH());

		// Token: 0x040030D3 RID: 12499
		private UnknownFieldSet _unknownFields;

		// Token: 0x040030D4 RID: 12500
		public const int TournFormulaIdFieldNumber = 10;

		// Token: 0x040030D5 RID: 12501
		private uint tournFormulaId_;
	}
}
